.project-settings-links-list {
  margin-top: 20px;
}

.list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.link {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin: 0 30px 30px 0;
  max-width: 275px;
  background: var(--content-background);
  border-radius: var(--border-radius);
  color: var(--color-black);
  box-shadow:
    0 1px 4px var(--shadow-color),
    0 9px 19px var(--shadow-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: 0.2s ease-in-out;
  transition-property: background, box-shadow, color, transform;
  overflow: hidden;

  strong {
    padding: 10px 20px 5px;
  }

  p {
    display: block;
    width: 100%;
    padding: 10px 20px 10px 19px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 400;
    border-top: 1px solid var(--content-background-border);
    color: var(--color-grey);
    background: var(--background-light);
    transition: 0.2s ease-in-out;
    transition-property: color;
  }

  &:focus,
  &:hover {
    color: var(--color-primary);
    box-shadow:
      0 3px 8px var(--shadow-color),
      0 9px 12px var(--shadow-color);
    transform: scale(1.02);

    .link-check {
      color: var(--color-primary);
    }
  }
}

.link-check-icon {
  width: 14px;
  height: 14px;
}

.link-check-text {
  font-size: 11px;
}

.link-check {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 26px;
  width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  color: var(--color-primary);
  background: var(--color-primary-opacity-10);
}

.link-icon {
  width: 30px;
  height: 30px;
  margin: 20px 20px 0;
  transition: 0.2s ease-in-out;
  transition-property: stroke;
  opacity: 0.8;
  stroke: var(--color-black);
  transition: 0.2s ease-in-out;
  transition-property: stroke;

  &.link-icon--prompts path:nth-child(3),
  &.link-icon--machine-translations path:nth-child(2),
  &.link-icon--jipt path:nth-child(2),
  &.link-icon--integrations circle:nth-child(3),
  &.link-icon--badges path:nth-child(2) {
    stroke: var(--color-primary);
  }
}

@media (max-width: 640px) {
  .project-settings-links-list,
  .list {
    margin: 0;
  }

  .link {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 0 20px;
  }
}
